﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SysUserList.aspx.cs" Inherits="SaleSystem.Other.SysUserList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
</head>
<body>
<form id="form1" runat="server">
    <div>
    <ext:PageManager runat="server" ID="PageManager1" />
    <ext:Toolbar runat="server" ID="toolbar1">
        <Items>
            <ext:Button runat="server" ID="bnSearch" Text="刷新" Icon="Reload" OnClick="bnSearch_Click"></ext:Button>
            <ext:Button runat="server" ID="bnNew" Text="新增" Icon="Add"  Type="Submit" ></ext:Button>
            
        </Items>    
    </ext:Toolbar>
 
    <ext:Grid runat="server" ID="gv_List" EnableBackgroundColor="true" Title="用户列表"   
            DataKeyNames="SUser_Id,SUser_Name" EnableRowNumber="true" 
            onrowcommand="gv_List_RowCommand">
    <Columns>         
        <ext:BoundField ColumnID="BData_Name" DataField="SUser_Name" DataTooltipField="SUser_Name" HeaderText="用户名"  Width="200px"   />
        <ext:BoundField ColumnID="BData_TypeName" DataField="SUser_Pwd" DataTooltipField="SUser_Pwd" HeaderText="密码" Width="150px"/>
        <ext:WindowField ColumnID="eidt"  Text="编辑" HeaderText="编辑" DataWindowTitleField="SUser_Name" WindowID="win_Content" DataIFrameUrlFields="SUser_Id" DataWindowTitleFormatString="编辑 - {0}" DataIFrameUrlFormatString="SysUserEdit.aspx?Id={0}"/>      
        <ext:LinkButtonField ColumnID="delete" CommandName="Delete"  ConfirmIcon="Question" ConfirmText="确认删除此信息？" Text="删除" HeaderText="删除" />
    </Columns>
    </ext:Grid>
    </div>
    <ext:Window runat="server" ID="win_Content" Popup="false" EnableIFrame="true"  EnableConfirmOnClose="true" Title="新增用户" IFrameUrl="SysUserEdit.aspx" Target="Parent" IsModal="true" Width="500px" Height="250px"></ext:Window>
    </form>
</body>
</html>
